package com.specialized.passenger.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.specialized.common.core.annotation.Excel;
import com.specialized.common.core.web.domain.BaseEntity;

/**
 * 邀请记录对象 invite
 *
 * @author djh
 * @date 2024-07-21
 */
public class Invite extends BaseEntity
{
    private static final long serialVersionUID=1L;

    /** 主键 */
    private Long inviteId;

    /** 邀请人 */
    @Excel(name = "邀请人")
    private Long userId;

    /** 邀请码 */
    @Excel(name = "邀请码")
    private String code;

    private String emil;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public String getEmil() {
        return emil;
    }

    public void setEmil(String emil) {
        this.emil = emil;
    }

    public void setInviteId(Long inviteId)
    {
        this.inviteId = inviteId;
    }

    public Long getInviteId()
    {
        return inviteId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("inviteId",getInviteId())
                .append("userId",getUserId())
                .append("emil",getEmil())
                .append("createTime",getCreateTime())
                .append("code",getCode())
                .append("status",getStatus())
                .toString();
    }
}
